package com.och.mrcp.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "sip")
@Data
public class SipConfig {
    
    private String localIp = "127.0.0.1";
    private int localPort = 5060;
    private String transport = "udp";
    private boolean enableTcp = true;
    private boolean enableUdp = true;
    private int tcpPort = 5060;
    private int udpPort = 5060;
    private String userAgent = "OCH-MRCP/1.0";
    private int maxForwards = 70;
    private int sessionExpires = 3600;
    private int minSessionExpires = 90;
    private int tcpBacklog = 128;
    private int tcpKeepAlive = 300;
}
